package jp.eisbahn.eclipse.plugins.lingrclipse.internal;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import jp.eisbahn.eclipse.plugins.lingrclipse.LingrOccupant;
import jp.eisbahn.eclipse.plugins.lingrclipse.LingrRoom;
import jp.eisbahn.eclipse.plugins.lingrclipse.LingrTag;

public class LingrRoomImpl extends LingrObjectImpl implements LingrRoom {

	private String id;
	
	private String name;
	
	private String description;
	
	private String url;
	
	private String iconUrl;
	
	private int counter;
	
	private int maxUserMessageId;
	
	private int chatterCount;
	
	private boolean requiresPassword;
	
	private int observerCount;
	
	private String createdAt;
	
	private List<LingrTagImpl> tags;
	
	public int getCounter() {
		return counter;
	}

	public void setCounter(int counter) {
		this.counter = counter;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIconUrl() {
		return iconUrl;
	}

	public void setIcon_url(String iconUrl) {
		this.iconUrl = iconUrl;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getMaxUserMessageId() {
		return maxUserMessageId;
	}

	public void setMax_user_message_id(int maxUserMessageId) {
		this.maxUserMessageId = maxUserMessageId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<LingrTag> getLingrTags() {
		List<LingrTag> result = new ArrayList<LingrTag>(tags.size());
		Collections.copy(result, tags);
		return result;
	}

	public void setTags(List<LingrTagImpl> tags) {
		this.tags = tags;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getChatterCount() {
		return chatterCount;
	}

	public void setChatter_count(int chatterCount) {
		this.chatterCount = chatterCount;
	}

	public boolean isRequiresPassword() {
		return requiresPassword;
	}

	public void setRequires_password(boolean requiresPassword) {
		this.requiresPassword = requiresPassword;
	}

	public int getObserverCount() {
		return observerCount;
	}

	public void setObserver_count(int observerCount) {
		this.observerCount = observerCount;
	}
	
	public String getCreatedAt() {
		return createdAt;
	}
	
	public void setCreated_at(String createdAt) {
		this.createdAt = createdAt;
	}

}
